import React from 'react'
import { Wrapper } from './style'

interface ItemProps{
    name:string
}
const SuggestionItem:React.FC<ItemProps> = (props) => {
  return (
    <Wrapper>
        <div className="search_icon">
            <i className="iconfont icon-sousuo"></i>
        </div>
        <div className="sug_item_name">{props.name}</div>
    </Wrapper>
  )
}

export default SuggestionItem
